package com.woniuxy.microfixeddepositserver.dao;

import com.woniuxy.microfixeddepositserver.bean.PurchaseBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface PurchaseResuestDao {
    /**
     * 查询所有产品购买要求信息
     */
    @Select("select id pid, description from purchase_request where status = 1")
    List<PurchaseBean> selectAllPurchaseType ();
}
